object Form7: TForm7
  Left = 0
  Top = 0
  BorderIcons = []
  Caption = #1057#1087#1080#1089#1086#1082' '#1072#1082#1090#1080#1074#1085#1099#1093' '#1073#1088#1086#1085#1077#1081' '#1082#1083#1080#1077#1085#1090#1072
  ClientHeight = 412
  ClientWidth = 459
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  OnActivate = FormActivate
  PixelsPerInch = 96
  TextHeight = 13
  object DBCtrlGrid1: TDBCtrlGrid
    Left = 0
    Top = 76
    Width = 459
    Height = 336
    Align = alBottom
    DataSource = DataSource1
    PanelHeight = 21
    PanelWidth = 442
    TabOrder = 0
    RowCount = 16
    object DBEdit2: TDBEdit
      Left = 0
      Top = 0
      Width = 73
      Height = 21
      Align = alLeft
      DataField = 'dategame'
      DataSource = DataSource1
      Enabled = False
      TabOrder = 0
    end
    object DBEdit3: TDBEdit
      Left = 73
      Top = 0
      Width = 84
      Height = 21
      Align = alLeft
      DataField = 'vremya_id1'
      DataSource = DataSource1
      Enabled = False
      TabOrder = 1
    end
    object DBEdit4: TDBEdit
      Left = 157
      Top = 0
      Width = 87
      Height = 21
      Align = alLeft
      DataField = 'vremya_id2'
      DataSource = DataSource1
      Enabled = False
      TabOrder = 2
    end
    object DBEdit5: TDBEdit
      Left = 244
      Top = 0
      Width = 74
      Height = 21
      Align = alLeft
      DataField = 'totalhour'
      DataSource = DataSource1
      Enabled = False
      TabOrder = 3
    end
    object DBEdit6: TDBEdit
      Left = 318
      Top = 0
      Width = 53
      Height = 21
      Align = alLeft
      DataField = 'summa'
      DataSource = DataSource1
      Enabled = False
      TabOrder = 4
    end
    object DBCheckBox1: TDBCheckBox
      Left = 371
      Top = 0
      Width = 97
      Height = 21
      Align = alLeft
      Caption = #1056#1072#1089#1095#1077#1090
      DataField = 'paid'
      DataSource = DataSource1
      TabOrder = 5
      ValueChecked = 'True'
      ValueUnchecked = 'False'
      OnMouseUp = DBCheckBox1MouseUp
    end
  end
  object Edit1: TEdit
    Left = 136
    Top = 24
    Width = 145
    Height = 21
    TabOrder = 1
    Text = 'Edit1'
  end
  object Button1: TButton
    Left = 325
    Top = 22
    Width = 75
    Height = 25
    Caption = #1047#1072#1082#1088#1099#1090#1100
    TabOrder = 2
    OnClick = Button1Click
  end
  object DataSource1: TDataSource
    DataSet = ZakazTable
    OnDataChange = DataSource1DataChange
    Left = 24
    Top = 8
  end
  object ZakazTable: TADOTable
    Active = True
    Connection = DataModule2.Connection
    CursorType = ctStatic
    BeforeEdit = ZakazTableBeforeEdit
    TableName = 'Zakaz'
    Left = 72
    Top = 16
    object ZakazTableID: TAutoIncField
      FieldName = 'ID'
      ReadOnly = True
      Visible = False
    end
    object ZakazTableuser_id: TIntegerField
      FieldName = 'user_id'
      Visible = False
    end
    object ZakazTablevremya_id1: TDateTimeField
      FieldName = 'vremya_id1'
      DisplayFormat = 'HH:mm'
    end
    object ZakazTablevremya_id2: TDateTimeField
      FieldName = 'vremya_id2'
      DisplayFormat = 'HH:mm'
    end
    object ZakazTabletotalhour: TDateTimeField
      FieldName = 'totalhour'
      DisplayFormat = 'HH:mm'
    end
    object ZakazTabledategame: TDateTimeField
      FieldName = 'dategame'
    end
    object ZakazTablesumma: TIntegerField
      FieldName = 'summa'
    end
    object ZakazTablepaid: TBooleanField
      FieldName = 'paid'
    end
    object ZakazTableCustomer: TStringField
      FieldKind = fkLookup
      FieldName = 'Customer'
      LookupDataSet = DataModule2.CustomersTable
      LookupKeyFields = 'ID'
      LookupResultField = 'Surname'
      KeyFields = 'user_id'
      Size = 25
      Lookup = True
    end
  end
end
